package me.sunpeng.design.bridge;

/**
 * @author sp
 */
public abstract class Phone {

    //用组合关系关联接口实现
    private Brand brand;

    public Phone(Brand brand) {
        super();
        this.brand = brand;
    }

    protected void open() {
        this.brand.open();
    }
    protected void close() {
        brand.close();
    }
    protected void call() {
        brand.call();
    }
}
